package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.domain.R;
import com.xique.park.api.factory.RemoteParkOnServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 在场记录客户端
 *
 * @author WLD
 */
@FeignClient(contextId = "RemoteParkOnService",
        value = ServiceNameConstants.PARK_BIZ_SERVICE,
        fallbackFactory = RemoteParkOnServiceFallbackFactory.class)
public interface RemoteParkOnService {

    /**
     * 定时删除在场记录
     *
     * @return /
     */
    @PostMapping("/web/parkOn/timingDelete")
    R<String> timingDelete();

}
